package com.sqfw.project.wpReport.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.sqfw.framework.aspectj.lang.annotation.Excel;
import com.sqfw.framework.web.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 市民满意度统计对象
 *
 * @author lx
 * @date 2023-07-21
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class WpInfoSatis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String deptLevel2Name;

    /** 受理数 */
    @Excel(name = "受理数")
    private Integer acceptedCount;

    /** 成功回访数 */
    @Excel(name = "成功回访数")
    private Integer visitSuccessCount;

    /** 满意件数 */
    @Excel(name = "满意件数")
    private Integer satisCount;

    /** 一般件数 */
    @Excel(name = "一般件数")
    private Integer kindCount;

    /** 不满意件数 */
    @Excel(name = "不满意件数")
    private Integer unsatisCount;

    /** 满意率 */
    @Excel(name = "满意率")
    private String satisRate;

    private String deptLevel2;

    private List<String> deptLevel2s;

    private String deptPid;

    private List<String> mainUnitAll;


    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date visitBeginTime;

    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date visitEndTime;

}
